package com.sikaryofficial.backend.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("guide_task_detail_t")
public class GuideTaskDetail implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 指引任务详情ID
	 */
	@TableId(type = IdType.ASSIGN_ID)
	private Long guideTaskDetailId;
	/**
	 * 任务编码：share_friend,home_page_post,leave_comments,go_to_ske
	 */
	private String taskCode;
	/**
	 * 任务描述
	 */
	private String taskDesc;
	/**
	 * 任务次数
	 */
	private Integer taskNum;
	/**
	 * 租户号
	 */
	private Integer tenantId;
	/**
	 * 乐观锁
	 */
	private Integer revision;
	/**
	 * 创建人
	 */
	private Long createdBy;
	/**
	 * 创建时间
	 */
	private Date createdTime;
	/**
	 * 更新人
	 */
	private Long updatedBy;
	/**
	 * 更新时间
	 */
	private Date updatedTime;
	/**
	 * 删除版本：默认为0；删除则赋值当前记录主键ID
	 */
	private Long deletedVersion;
}